package com.uduemc.biso.core.feign.fallback;

import org.springframework.stereotype.Component;

import com.uduemc.biso.core.feign.SysContainerTypeFeign;
import com.uduemc.biso.core.utils.RestResult;

import feign.hystrix.FallbackFactory;

@Component
public class SysContainerTypeFeignFallback implements FallbackFactory<SysContainerTypeFeign> {

	@Override
	public SysContainerTypeFeign create(Throwable cause) {
		return new SysContainerTypeFeign() {
			@Override
			public RestResult findAll() {
				return null;
			}
		};
	}

}
